import React, { Component } from "react";
import PropTypes from "prop-types";

export default class Navbar extends Component {
  static propTypes = {
    title: PropTypes.string,
    leftShow: PropTypes.bool,
  };

  static defaultProps = {
    leftShow: true,
  };

  render() {
    return (
      <div>
        <h4>NavBar</h4>
        <li>title: {this.props.title}</li>
        <li>leftShow: {`${this.props.leftShow}`}</li>
      </div>
    );
  }
}
